import request from '@/utils/request'

// 查询批量填报任务列表
export function listDispatchBatchReportTasks(query) {
  return request({
    url: '/system/dispatchBatchReportTasks/list',
    method: 'get',
    params: query
  })
}

// 查询批量填报任务详细
export function getDispatchBatchReportTasks(batchReportTasksId) {
  return request({
    url: '/system/dispatchBatchReportTasks/' + batchReportTasksId,
    method: 'get'
  })
}

// 新增批量填报任务
export function addDispatchBatchReportTasks(data) {
  return request({
    url: '/system/dispatchBatchReportTasks',
    method: 'post',
    data: data
  })
}

// 修改批量填报任务
export function updateDispatchBatchReportTasks(data) {
  return request({
    url: '/system/dispatchBatchReportTasks',
    method: 'put',
    data: data
  })
}

// 删除批量填报任务
export function delDispatchBatchReportTasks(batchReportTasksId) {
  return request({
    url: '/system/dispatchBatchReportTasks/' + batchReportTasksId,
    method: 'delete'
  })
}
